package top.lidee.common.service.twice.management;

import top.lidee.common.dto.AccountInfo;
import top.lidee.framework.result.ResponseResult;
import top.lidee.repository.model.twice.vo.management.StoreApplicationVo;

import java.util.Map;

/**
 * @author 张一恒
 * @version 1.0
 * @description:
 * @date 2024/9/24 15:20
 */
public interface CheckService {
    /**
     * @description 分页查询审核成功/待审核/审核失败的基本信息
     * @param params
     * @return top.lidee.framework.result.ResponseResult
     * @author zhangyiheng
     * @date 2024/9/24 15:21
     */
    ResponseResult searchAllStatusInfo(Map<String, Object> params);

    /**
     * @description 根据id查询,待审核
     * @param
     * @return top.lidee.framework.result.ResponseResult
     * @author zhangyiheng
     * @date 2024/9/24 15:57
     */
    ResponseResult searchWaitPass(Integer storeId);


    /**
     * @description 店铺审核成功
     * @param dto
     * @param accountInfo
     * @return top.lidee.framework.result.ResponseResult
     * @author zhangyiheng
     * @date 2024/9/24 16:26
     */
    ResponseResult storeApplicationSuccess(StoreApplicationVo dto, AccountInfo accountInfo);

    /**
     * @description 店铺审核失败
     * @param vo
     * @return top.lidee.framework.result.ResponseResult
     * @author zhangyiheng
     * @date 2024/9/24 16:25
     */
    ResponseResult storeApplicationFila(StoreApplicationVo vo,AccountInfo accountInfo);
}
